import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//vant
import Vant from 'vant';
import 'vant/lib/index.less';
Vue.use(Vant);

import moment from 'moment'; //导入模块
// 全局过滤器的定义
Vue.filter("filter", function(value, type = "YYYY-MM-DD hh:mm:ss") {
  return moment(value).utc().format(type);
});

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.less';
Vue.use(Antd);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
